package bean;

import java.sql.Timestamp;

public class OrderInfo {
	private int orderid;
	private int userid;
	private int addressid;
	private int payStatus;
	private int postStatus;
	private int orderStatus;
	private int goodsNum;
	private double totalPrice;
	private double payPrice;
	private int pointsUsed;
	private double postFee;
	private Timestamp createTime;
	private Timestamp updateTime;
	public OrderInfo() {}
	public OrderInfo(int orderid, int userid, int addressid, int payStatus, int postStatus, int orderStatus,
			int goodsNum, double totalPrice, double payPrice, int pointsUsed, double postFee, Timestamp createTime,
			Timestamp updateTime) {
		super();
		this.orderid = orderid;
		this.userid = userid;
		this.addressid = addressid;
		this.payStatus = payStatus;
		this.postStatus = postStatus;
		this.orderStatus = orderStatus;
		this.goodsNum = goodsNum;
		this.totalPrice = totalPrice;
		this.payPrice = payPrice;
		this.pointsUsed = pointsUsed;
		this.postFee = postFee;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}
	public int getOrderid() {
		return orderid;
	}
	public void setOrderid(int orderid) {
		this.orderid = orderid;
	}
	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public int getAddressid() {
		return addressid;
	}
	public void setAddressid(int addressid) {
		this.addressid = addressid;
	}
	public int getPayStatus() {
		return payStatus;
	}
	public void setPayStatus(int payStatus) {
		this.payStatus = payStatus;
	}
	public int getPostStatus() {
		return postStatus;
	}
	public void setPostStatus(int postStatus) {
		this.postStatus = postStatus;
	}
	public int getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(int orderStatus) {
		this.orderStatus = orderStatus;
	}
	public int getGoodsNum() {
		return goodsNum;
	}
	public void setGoodsNum(int goodsNum) {
		this.goodsNum = goodsNum;
	}
	public double getTotalPrice() {
		return totalPrice;
	}
	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}
	public double getPayPrice() {
		return payPrice;
	}
	public void setPayPrice(double payPrice) {
		this.payPrice = payPrice;
	}
	public int getPointsUsed() {
		return pointsUsed;
	}
	public void setPointsUsed(int pointsUsed) {
		this.pointsUsed = pointsUsed;
	}
	public double getPostFee() {
		return postFee;
	}
	public void setPostFee(double postFee) {
		this.postFee = postFee;
	}
	public Timestamp getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}
	public Timestamp getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}
}
